package com.api;

import android.content.Context;
import android.util.Log;

/* access modifiers changed from: package-private */
public final class e extends Thread {
    Context mContext = null;
    final /* synthetic */ LTLink u;
    String x;
    String y;
    String z;

    public e(LTLink lTLink) {
        this.u = lTLink;
    }

    @Override // java.lang.Thread, java.lang.Runnable
    public final void run() {
        this.u.s.lock();
        if (this.mContext != null) {
            LTLink.a(this.u, this.mContext);
            if (this.x != null) {
                this.u.j = this.x.getBytes();
            }
            if (this.z != null) {
                this.u.l = this.z.getBytes();
                try {
                    this.u.j = LTLink.a(this.x, this.z);
                } catch (Exception e) {
                    Log.e(LTLink.TAG, "AES is error.");
                }
            }
            if (this.y != null) {
                this.u.k = this.y.getBytes();
            }
            this.u.r = 0;
            LTLink.e(this.u);
            LTLink.f(this.u);
            this.u.startRun();
        }
        this.u.s.unlock();
    }
}
